#include "editform.h"
#include "ui_editform.h"

editForm::editForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::editForm)
{
    ui->setupUi(this);
}

editForm::~editForm()
{
    delete ui;
}


void editForm::on_pushButton_clicked()
{
    emit editSignal(ui->priceEdit->text().toInt(),
                    ui->usetimeEdit->text().toInt(),
                    ui->costEdit->text().toInt());
    close();
}
